/**
 * 
 */
package domain;

/**
 * @author it-equipment-selection team
 *
 */
public abstract class Printer extends Product {

	private int ppm;
	private boolean duplex;
	private boolean nic;

	public Printer(String brand, String model, double price, Article article,
			Supplier supplier, int ppm, boolean duplex, boolean nic) {
		super(brand, model, price, article, supplier);
		this.ppm = ppm;
		this.duplex = duplex;
		this.nic = nic;
	}
	
	public Printer(String brand, String model, double price, Article article,
			Supplier supplier) {
		super(brand, model, price, article, supplier);
	}
	
	public Printer() {
	}

	public int getPpm() {
		return ppm;
	}

	public void setPpm(int ppm) {
		this.ppm = ppm;
	}

	public boolean isDuplex() {
		return duplex;
	}

	public void setDuplex(boolean duplex) {
		this.duplex = duplex;
	}

	public boolean isNic() {
		return nic;
	}

	public void setNic(boolean nic) {
		this.nic = nic;
	}

	/* (non-Javadoc)
	 * @see domain.Product#doValidate()
	 */
	public abstract void doValidate();

}
